<?php
namespace builder;

use ulue\web\Module;

class BuilderModule extends Module
{
    public $accessPwd = '123456';

    public $ipFilters = [
        '127.0.0.1',
        '::1'
    ];

    /**
     * #受保护模块，删除模块需要密码
     * @var array
     */
    public $lockedModules    = ['admin','main'];

    /**
     * 删除锁定模块的密码
     * @var string
     */
    public $deleteModulePwd  = 'ok123';

    public $cachePath = '@run/caches/builder';

    public $defaultController = 'des';

    public function init()
    {
        return true;
    }
}
